import { translate } from '@/utils/i18n'
export const formItems = [
    {
        filed: 'venueId',
        type: 'select',
        label: translate('venue'),
        labelCode: 'name',
        clearable: true,
        valueCode: 'id',
        options: []
    },
    {
        filed: 'payMethod',
        type: 'select',
        label: translate('czfs'),
        labelCode: 'name',
        placeholder: translate('czfsPlace'),
        options: []
    },
    {
        filed: 'time',
        type: 'daterange',
        clearable: false,
        label: translate('czrq')
    },
    {
        filed: 'memberInfo',
        type: 'input',
        label: translate('memberInfo'),
        placeholder: translate('hy3')
    },
    {
        filed: 'creator',
        type: 'input',
        label: translate('operator')
    },
    {
        filed: 'orderNo',
        type: 'input',
        label: translate('orderId')
    },
    {
        filed: 'channel',
        type: 'select',
        label: translate('czqd'),
        labelCode: 'name',
        options: []
    },
    {
        filed: 'orderType',
        type: 'select',
        label: translate('orderType'),
        options: [
            { value: '05', label: translate('hykk') },
            { value: '01', label: translate('hycz') }
        ]
    }
]
export const queryFormConfig = {
    formItems,
    online: true
}
